<template>
	<view class="content">
		<view class="success-plate-box">
			<view class="success-icon-box">
				<image src="../static/icon21.png" mode=""></image>
				<text>提交成功</text>
			</view>
			<text>{{status}}</text>
		</view>
		<view class="bottom-but-box" @click="bindOk">
			<text>返回活动</text>
		</view>
	</view>
</template>

<script>
	export default {
		data(){
			return {
				status:""//提交状态
			}
		},
		onLoad(option) {
			this.status = option.status==1?'恭喜你！活动报名提交成功':'试打会数据提交成功';
		},
		methods:{
			bindOk(){ //返回上级
				uni.navigateBack({delta:2})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.content{
		width: 100%;
		height: 100vh;
		font-family: Microsoft YaHei;
		font-weight: bold;
		color: #333333;
		box-sizing: border-box;
		.success-plate-box{
			padding: 200rpx 50rpx;
			padding-bottom: 400rpx;
			font-size: 28rpx;
			font-weight: 400;
			text-align: center;
			.success-icon-box{
				display: flex;flex-direction: column;
				justify-content: center;
				align-items: center;
				font-size: 38rpx;
				margin-bottom: 20rpx;
				image{width: 120rpx;height: 120rpx;margin-bottom: 20rpx;}
			}
		}
		.bottom-but-box{
			width: 40%;
			margin: auto;
			padding: 25rpx 0;
			border-radius: 50rpx;
			background: #000;
			text-align: center;font-size: 30rpx;font-weight: 400;
			color: #FFFFFF;
		}
	}
</style>